import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import aop.core.MemberService;


public class TestMain {
	public static void main(String[] args) {
		ApplicationContext ctx = new ClassPathXmlApplicationContext("aop/config/aop-config.xml");
		MemberService service = (MemberService)ctx.getBean("memberService");
		//		service.joinMember("id-99", "김영수", 30);
		try{
			String ret = service.getMemberById("id-9");
			System.out.println("main() : " + ret);
		}catch(Exception e){
			System.out.println("main() : catch 실행 ");
		}
	}
}
